package com.nf.recruitment.service;

import com.nf.recruitment.dto.CandidatePageDTO;
import com.nf.recruitment.dto.CandidateStatusDTO;
import com.nf.recruitment.entity.*;

public interface CandidateService {
    /**
     * 获取应聘人员登记列表
     *
     * @param pageNum
     * @param pageSize
     * @return
     */
    CandidatePageDTO listCandidate(int pageNum, int pageSize, int post, int degree);

    /**
     * 添加应聘人员记录
     *
     * @param candidate
     */
    void saveCandidate(Candidate candidate);

    /**
     * 修改应聘状态
     * @param candidateStatus
     */
    void changeStatus(CandidateStatusDTO candidateStatus);
}
